﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MyIdolUIFrameWork;

public class UISeeVideo : UIScene 
{
    private UISceneWidget cancelSeeVideo;
    private UISceneWidget seeVideoBtn;

    protected override void Start()
    {
        base.Start();
        InitWeight();
    }

    private void InitWeight()
    {
        cancelSeeVideo = GetWidget("Cancel");
        cancelSeeVideo.onClick += CancelSeeVideoClick;

        seeVideoBtn = GetWidget("SeeVideo");
        seeVideoBtn.onClick += SeeVideoClick;
    }

    private void CancelSeeVideoClick()
    {

        SetVisible(false);
    }

    private void SeeVideoClick()
    {
        //AdsProxy.PlayVideoByType()
    }
}
